﻿namespace Telerik.RadCartesianChartSample
{
	using System;
	using System.Windows.Input;
	using Common.ViewModel;

	public partial class MainPage
	{
		// Constructor
		public MainPage()
		{
			InitializeComponent();
			DataContext = new DashboardViewModel();
			//Shows the rate reminder message, according to the settings of the RateReminder.
			//(App.Current as App).rateReminder.Notify();
		}

		/// <summary>
		/// Navigates to about page.
		/// </summary>
		private void GoToAbout(object sender, GestureEventArgs e)
		{
			NavigationService.Navigate(new Uri("/About.xaml", UriKind.RelativeOrAbsolute));
		}
	}
}
